package uit.net.core.dao;

import java.util.List;


public interface GenericDao<T> {
    
   public T findOne(final Long id);

   public List<T> findAll();

   public void save(final T entity);

   public T update(final T entity);

   public void delete(final T entity);

   public void deleteById(final Long entityId);
   
   public void flush();
   
}
